Used wrong value for index! COrrect now!!