adding setters to global environment
1st attempt add adding arrays to sql
1st working version with array handling