Add the function of average return