simple flow chart of mining process