use the term token instead of regcode