removed some unnecessary output from the proc.newFun