changed api to not use parents