First approach to cursor