lulz, forgot to commit from b4 (rdp_update fix)
completely rewrote Z compare mechanism