small rhessi refactor. use a for-loop to obey DRY.