Added code for table overflow implementation