task 4, 5 version 2

task 4, 5 version 2