use new apponsdetector