-- Third part of the third assignment