Added gamma control