Added the link function, now using Seq of children