added exitonclick