add helper method for getting toml info