adding stuff from my work with the professor