getting table stuff