adding swift flag