created a sort of flash message