can extend an existing class.Two different tables are created