integrating flags