added #remove method; only works when there is one child node