Example implementation and use of patchwork with magespec