Factor out delta logic to utility