get rid of the destroy function