updates
adding code for lang 3 detection