made a few minor changes. added comments to enqueue -MM