removed "alert()s"