spin example