write returned value directly to passed pointer of Value method