the functions themselves can usually be used in either case, but the surrounding scope is different