Removed duplicate userprompt() defn, fixed call