second version of 1.3 task "Islands"