change message to variant