removed alert()