added queries for parents