modified: YankText func