minor cleanup
adding language detection