add function destroy(),_id property for model