renamed variables and removed some semi colons.