Added ghost mode in the sample.