implement status and restart