added register template