added logging on creating circuits