create Method object