updates to Shape example