Registration example