added a class structure