Updated to trip index