how to remove 2s from the assignment