task 2 extended