adding deleted type and some other things