made it so that some degenerate cases were not possible