added setMany features