task 1.17 finished for OO