index takes query string