ADDED

	alert function to send alerts to the server