add assembled output and fix assembling