put type = items instead of database to simplify things