updated multiplesin example to use new api