removed debugging statmeents