tweaks on sample app