add second task from the homework. Not finale version