ran tests, need to debug for delete case