refactoring coors convert fns
refactoring coors convert fns
map contains ids of entities