handle object messages