uploading dennis and mike's waffle detection code thus far