Remove underscores from get_segments variables

As mentioned in the review, the variables in get_segments should not have underscores.  This removes them.