Implemented basic primitives