Rewrote assemble to wrap new jupiter API