Removed Append, rewrote append and expand. Small change to example.