Basic Registration Sample