added gaussian manipulations