Changed DBM and finalized Setting logic