fixed attempt logic