verification algorithm is done