Add in UC_MAX check