Overflow circuit