finishing up flag2