param elem element delet delet element resid object elem elem element resid illeg argument except elem elem 