Enhanced the for-loop