updated to include symbols and fixed alphabet