for assignment 1 - Coursera