finished general case building table and inserting based on selected column, git fucked