create queue and add hash checking