init registration