added in queue but it doesnt seem to work when printing even though the nodes are functioning