rewrote getEntryText to use DSTK