wrote up materials and code setup