fixed silly syntax errs
(#389)
fixed a bunch more snafus, need to run somewhat longer now to check
(#389)
made nitems 10 for testing
(#389)