flags and animate