Changed alert and added variable