Added a static num of attempts