add flash messages
clean up
clean up example