this is the second task of course project :)