removed test print functions