add method decl