outputs dealloc string for class