gamma value is an optional parameter.