task 2 (edited)