simple append solution (replace w/ arbitrary nesting)