changing some local variable to be lower case