adding self config for demo