config mechanism