better image and rearrangeing