its the second task of the course project