drop the foreach, make it even shorter. thanks Marc Cornellà!