add inline modifiers to functions