provide current cursor to step callback