build readonly version