running code in preparation for the wireframe experiments