working on adding flash msgs