Added Commentary to the working code