trigger for registration block