clean up a tiny bit

going to be keeping all code in the samples file, and changing the main
one as we go…