it could emit events for 'restart', etc