generate entities