Add little helper foreach function