getNextSymbol() added