moved helpers to DZPQBase class