Nit: I'm a huge fan of not using l as a variable name. Use lang or aaq_lang or phil or anything except l.