changed tableName private variable