all configs & draw figure