adding vector_get_buffer