code up to end of both assembly steps