Primitives and Functions

TODO: write