Added comments to subs