build for archive