implemented body resolver and method macro