move dimension comparision up a level