from http://mtm.cba.mit.edu/machines/mtm_snap-lock/build/