DelayedCallback is deprecated in favor of add_timeout
simplified the records comparison to O(n)