circuit creator code improved