Compatible with standalone mode