oops self.lens only being set if argument lens=None