adds primitive type