Added comments to make code a bit more legible