begin working on sql parsing