removed debugging alert statements