how make contract machine