new test loops for antialiaing