Added db contract / helper