Two-Part Function Machine