Added cyclical set to PR. Further simplication of PR.