block diagram of the proposed algorithm