moved to config api