code of 4 task