part of my assignment with Coursera