add cursor and hint