add method modifiers