task 4, 5 version 3

task 4, 5 version 3