add assignment of function call