Reg function: Flash messege