for-loop & while-loop