type parser works somehow