unstructured functions and classes in different languages