produce set of entities for use in attributes and use them