added the sample code from the Gemma Hoop EarRing tutorial