started implementing cursor