Taking list of table names