working on making old work better...now it gives the newly set value