additional lines to the .R file and adding the .txt file to the repo as well