added antialiasing