DB coder by chenpan