Added a for-loop