delete all except assignment