changing the hard-coded values with file-read values