Consider adding a couple comments to this file to make the code easier to understand. -