Second task of assignment.