we can now pass parameters to querytypes (still has to be tested)