Slight modifications
Removed Reduction class that isn't needed