thread-safe object system