Resindex calculated with the time remaining