add new setAll() method