2nd class with attributes