start to the contract and db helper