make the program more flexible when dealing with FORMAT fields