begin using helper method to add flash message