started adding registration logic. things are broken ATM...