renamed index back to registration