Fix config andd add new method