A simpler way to output pathes