Added comments to exitsing functions