Slightly more performant approach