path method should always return a list of segments