modified to properly emit ServiceStatus