Adding comment about how I implemented the code