Add register example