Add some more comments to the utils code so it is easier to understand