added comments to internal config related functions