flight mode function added but no functionality added inside that