adding data types to parser to act as a sort of interface