adding some code and registration_action