rudimentary auto-advance working