move from cout to LogPrint