add sets and logic to README