add lang/global. closes #186