Minor change to the modes in the setter method