Working for all symbol lengths