-- adding a memoized version of get-config