add app query feature