first attempt at OO ex5