flow diagram ore