added liveness test