Added support for labels on the advance() method