survival curve working