with inappropraite flags working