working on related data