Added TODO: create htquery