jacket teensy code 'ported' from pants - works but timing sux