Started cursor implementation.