gamma example fix