Method generating