extra functions for config files