Some tweaks to the gamma attack