passing as flag