work towards 3D image support