Version with all three attempts. Third attempt appears to work