add get function into Config