made some flash messages