import cfgparse in method that needs it for more robustness