calculation of advisory fees