started implementing loader with cursor