changes to code, and adding a new file