has delete by id working from link this can be a reversion point if function separation doesn't pan out