first save; adds data tables
Final version