Checking present value before changing.