added setter for fly mode