rewire example