gamma distribution work, more special function dispatch