added nolog flag