add spread operator to toContain