simplification of cursor