set Flag
same as before