moved nsdactivity into main
removed