#implements MaterialTable and related functions