changed gaussian addition