Added small comments to help figure out what's going on