learning oop - taking notes