added cobject support