some work on model delete