parse types