fixed flag animation
implemented goal completion