However, the RAF and the air forces of many Commonwealth countries, or those formerly under a British influence, use a different set of ranks loosely based on naval equivalents; Lieutenant, Commander, Captain and Commodore are prefixed for air force use with Flight , Wing , Group and Air, respectively (the first three being the units that they used to command).