stuff and cut down entries in database.db