SetItems functionality