added method register_callback_id