modified files for coursera assignment