minor fixes to code, now need to set start/stop