removed as.integer in rc_codes