adding Genericity on the QueryData param