assignment insertion in lectures model