set up register template