Create for-loop