flow chart on process of mining