Register process almost working