Implement basic cursor functions