changed all classes to struct, and removed all private labels