Adds to parents function