added logg flags