separate datatypes from parser