clay, why don't you optimize the database