removed profile func