removed debug statements and unneeded semicolon