Finished task 4 and 6