Issue126 regid template

@d22 can you please review. thx.