removed extra print functions