Switched the "each" implementation