use niceNames instead of codes