if i name a vairbale in one function(main) how can another function read it