temporary sumission related using sqlite as a history DB