commitPosition() is a private method now