looping through activities. Found pages