wrote first pass of setup section