refactored registration index