Made profile functions more clear with explanations.