added dealloc to new model classes