add comments to queue.c