similar items db handler