+ used local gamma
+ minor adjustments