small rearragement of data