addded mc_decode_path method