Some prep work for switching to graphics.