SoA example is improved