alloc and destroy functions for large objects...