made very minor changes, now starting with trial 0, commented out some print statements