Better foreach()