cursor & thread

cursor & thread