added config get and set