managing reg ids