added attempts hack