move illegal roman character check to a method