ch05_02 Registration Factory