Still trying to figure out why my reduction function sucks so very much
Still trying to fix reduction function