Improved class of tablePrototype