moving 2 function that where in the wrong file and seed hproc with kobject attribute