Renamed functions to use underscores and lowercase rather than camel case. Made minor spacing changes.