added anti aliasing