changed 'get_segment' method to just 'segment'
added some docs for new segment functionality