add a cursor for extracting value