add restart logic
Merge branch 'master' of github.com:qrdemo/lu