switch to a new internal representation