impelementing querywidmaster into et-query