Make compare static