added flying mode