added functionality to get current segments
Merge remote-tracking branch 'origin/master'