improve primitives.