task 1.10 finished for OO