passing table name on extends