Replaced a 'attempt' with 'self.attempt'