removed debugging calls