HQ transformation engine