added some more example from c++ class