assign and delete