solved task #1