add Serialize singleton sample