Add exercise 6(not working)