added callback to assembleassets