another way to show class attributes