Tony - add register template