add cursor to resource