How to work with tables?