This is for coursera assignment requirements