change resume behavior a bit, and demo