working flying state mode when true