Added some comments on the finished functions