added solution task 2