Creating flag