add some debugging output showing address of object and thread calling the function