getting and then setting is work and the value may change in between. A single method would prevent that as a possible error cause.