working on the prereq's for the query interpreter
ugh. working on the pattern matching fns required for query. struggling to focus