use flag for cli input