auto creating tables
improving on filters