Creates db, correct item return  type