Modularize the language functions