tables and inserts sql added