s/each/detect/ and remove return from block