this is the homework for data science coursera. LOL