removed attempts code