methods to get configs