removed alert call