added some turn on logging