modify to display the guassian averaging