Implement immediate advance feature
Small refactor fix for empty position
Oops. Now I remember why I did that
Update example to use immediate advance function