start to implement destroy functions