added compare to utils