class structure 2