display gamma
add debug branch