removed debugging stmts