switched from template to const_buffer_iterators