finished parse and logs.py