UPDATE: finished generator. It correctly generates set of objects for one example