changed namespace iteration style