lesson 3: task 3 solved (fixed error)