declared function variables globally, they get defined in the function