add related entities, closes #10