implement queues to main form