removed alert calls.