created Utils.flash methods