modification of table generation (HTML)