added a quad count