new assembly api