updating basicApp sample to better experience