add flexible configuration