update to make use of get value