oo basics: solution