added setModel and heracles model