all code from UW certificate