register and basic relay