removed unnecessary print stmts