removed debugging console log statement