SmartLifeCycle Example