removing print functions