[PATCH 4/5] config: add new functions