changed default gamma to 1.0 (undiscounted)