updated __str__ method