flow diagram of the lting and refining process