fixed enqueue, added comments for methods

(