correctly count advance (Art. 27 and 44)