finished first pass through parse.py