added ev and fixed some print funs like ty2Type