print stmts fixed