Implemented the health check operation