Code update to antialiasing