Cleaned up 2DtoXL