removed debugging print stmts