changes to API.  now takes arbitrary number of continuum.