data mapping for contracts.