add code and rhcode