basics working in an oo way