register_callbacks