replace 'raise NotImplemented()' with 'raise NotImplementedError()'