creating table-generator