add alerts before message