- fixing restart
- added "formatted time"
- fixed scoping