need to do error checking, copy eval.py, prepare to modify it for error checking