New refactored version of t3registration