Right reduce

Messed up with branches, so sending it in one pull request)