mutiple flash messages implemented