refactoring done for postflop, and for Range