two children exchanging an object in class