added lib_ext and removed self. from self.each...