added more java alerts and edited views