pls convert value here while writing instead of reading