create an input check in the code to ensure there are no non-numeric or incorrect values, except for the "latest" value.
create an input check in the code to ensure there are no non-numeric or incorrect values, except for the "latest" value.