wrap string using struct for practice