db for previous