change positions of examples and params