refactoring auto-next
implemented progress bars