stuff done for # attempts