removed alert() test