Refactor/ (0..3).each was change for .inject()