Implemented more primitives