ADAPTING SAMPLES TO EmulatedDevice SYSTEM