added zero index