bugfix
printKrtObj prints function
define primitives