adding in delete hooks