small change to circular code