some tasks from second homework