Task #3 (loops) was added