add method defs