more generate work code