Updated examples now that function names have been switched