add functionality to config parsing