why is this method not used in onDesctruction?