added a lot of tuples, working on key logic manager of deciding how to resolve logic groups