Added alert to prototype