added cursor code, had to change "unformat" to "valChars", testing later tonight (exciting saturday!)