For week 2 of coursera class