Removed debugger statements
Fixed formatting