generate entities 2