Working on overriding needed methods for tablemodel