upgraded sample to sdk 2.3