removed print functions