only compare datums by id