parenting within library works