- major/minor were swapped, add write functions