before merge to qatools