something like facts to entities converter