added related to entity - requests related entities
added docstrings