some cleanup. Image is more like a normal array