Added stack of function.