copied over bulk example, now actually working