updated docs to include info on global functions