<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def _move_bee(self, bee, new_values):
        '''Moves a bee to a new position if new fitness score is better than
        the bee's current fitness score

        Args:
            bee (EmployerBee): bee to move
            new_values (tuple): (new score, new values, new fitness function
                return value)
        '''

        score = np.nan_to_num(new_values[0])
        if bee.score > score:
            bee.failed_trials += 1
        else:
            bee.values = new_values[1]
            bee.score = score
            bee.error = new_values[2]
            bee.failed_trials = 0
            self._logger.log('debug', 'Bee assigned to new merged position')