Removed self.c=1 from constructor