started adding shell code for reductions