adding in delete functionality