added two more methods to config