minor changes, still not running in a full loop