scanning causesd an error in command line version, needed to be rounded to 3 decimal places