changing to quantity