removed debugging outputs