passing number of columns in constructor
getting column number from constructor and not chaning it afterwards
adapting to the modified table interface class constructor