clear attempt in main