removed @profile from a function