recode for db job handling