simplify primitives