removed debugging logging statements