Made cursors a pair of [start,end]