hmm can we have a logging guard here?