version support with peek-ahead functionality