add xs as_character