worked on flash messages