fixing bugs, adding output
updating mutate to only apply to children