Contract helper