attemptnumber definition again