define method in production