start implementation of a cursor