Use class structure