adding partial for flashes