Text this: Effect of functional groups on tribological properties of lubricants and mechanism investigation