everything now is not hardcoded. built off of the file read into the function.