sketch out parse matrix
initial sketch of parse_cat