addting helper for alert message