Task 3 done, minor changes to ^P
task 3