add db rotate boxes