fixing semicolons
removed logging and stuff