patchwork: architecture