now it gets all cpp
now an object with events