finalize build pattern