make  one 'tables' code sample shorten