adding querywidmaster function to et-query