removed the alert
added calculate button