added some initialization code for autoclass, but it won't work yet, need to know how it will be instantiated