start of class structure