Removed some lines of code that were unnecessary, and changed sources.cc to source.cc