shortcut x/y comparison