semivowels mode and better output formatting added