added setModel()