User:Gregbard/Sandbox/Functions