introduce cursor loader