alert and text formatting