update for return value. 

if call is not the last registered call it will return undefined.