add flash notice and so on