removed debug stmts