add support for objects