changes signature of 'pace'; rewrote 'autocomplete' demo to be more idiomatic