- added clearValue function