register worked