refactor to use parentCollection instead