add gamma correction
continued...