changed order of alteration stepsin this version first