changes to primitives.cc
stuff