updates on logging. still errors