further modifications to 3d