simplifying global configuration and opting for full thread-safe mutex operation