initial commit, working circle detection