this would be good indeed,, however it feels a little like 'foreach' dejavu